<%@page import="com.zhixun.mobile.common.utils.EncryptUtils"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%
   String path = request.getContextPath();
   String basePath = request.getScheme() + "://" + request.getLocalAddr() + ":"
                              + request.getServerPort() + path + "/";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Goods...</title>
</head>
<body>

	<h1>Goods List</h1>
	
	<c:forEach items="${goodsList }" var="goods">
		
		<c:set value="${goods.id }" var="encodeId"></c:set>
		<a href="<%=basePath%>servlet/Trade?gid=${goods.id }&gn=${goods.name}&gf=${goods.price}&uid=${goods.user_id}&gidcode=${goods.encodeId }">${ goods.name}--￥${goods.price }元</a>	<br/>
	
	</c:forEach>

</body>
</html>